home *** CD-ROM | disk | FTP | other *** search
- TABLE OF CONTENTS
-
- egb/gbscrollbox.library/EGB_ActivateElem
- egb/gbscrollbox.library/EGB_AddItemToScrollBox
- egb/gbscrollbox.library/EGB_AddListToScrollBox
- egb/gbscrollbox.library/EGB_CreateLateScrollBox
- egb/gbscrollbox.library/EGB_LinkStringToScroll
- egb/gbscrollbox.library/EGB_NextElem
- egb/gbscrollbox.library/EGB_PrevElem
- egb/gbscrollbox.library/EGB_RemItemFromScrollBox
- egb/gbscrollbox.library/EGB_RemListFromScrollBox
- egb/gbscrollbox.library/EGB_SetTopElem
- egb/gbscrollbox.library/EGB_UpdateScrollBox
- egb/gbscrollbox.library/EGB_ActivateElemegb/gbscrollbox.library/EGB_ActivateElem
-
- NAME
- EGB_ActivateElem --
-
- SYNOPSIS
- EGB_ActivateElem(win, gad, elem)
- A0 A1 A2
-
- void EGB_ActivateElem(EI_WindowPtr, EI_GadgetPtr, struct Node *)
-
- FUNCTION
- Activates an item from a gadbox scrollbox gadget. Moves the
- scrollbox view if necessary.
-
- INPUTS
- win : The window that contains the gadget; if NULL, no refresh is done
- gad : the scrollbox gadget
- item : Pointer to the item (node) to be activated
-
- RESULT
-
- SEE ALSO
-
-
- egb/gbscrollbox.library/EGB_AddItemToScrollBoxegb/gbscrollbox.library/EGB_AddItemToScrollBox
-
- NAME
- EGB_AddItemToScrollBox --
-
- SYNOPSIS
- EGB_AddItemToScrollBox(win, gad, item)
- A0 A1 A2
-
- void EGB_AddItemToScrollBox(EI_WindowPtr, EI_GadgetPtr, struct Node *)
-
- FUNCTION
- Adds an item to a scroll box. Make sure that this item is not an
- element of a second list, as it is inserted into the scrollbox's
- list. If the sort flag is set, the item will be inserted in
- alphabetical order.
-
- INPUTS
- win : The window, that contains the gadget; if NULL, no refresh is done
- gad : The scrollbox gadget
- item : The item to be inserted in to the scrollbox
-
- RESULT
-
- SEE ALSO
-
-
- egb/gbscrollbox.library/EGB_AddListToScrollBoxegb/gbscrollbox.library/EGB_AddListToScrollBox
-
- NAME
- EGB_AddListToScrollBox --
-
- SYNOPSIS
- EGB_AddListToScrollBox(win, gad, list)
- A0 A1 A2
-
- void EGB_AddListToScrollBox(EI_WindowPtr, EI_GadgetPtr, struct List *)
-
- FUNCTION
- Adds the elements of the list to the scrollbox. The original list is
- destroyed, as the elements are not cloned, but used as they are.
-
- INPUTS
- win : Window that contains the gadget; if NULL, no refresh is done
- gad : the scrollbox gadget
- list : The list containing the elements to be inserted into the
- scrollbox.
-
- RESULT
-
- SEE ALSO
-
-
- egb/gbscrollbox.library/EGB_CreateLateScrollBoxegb/gbscrollbox.library/EGB_CreateLateScrollBox
-
- NAME
- EGB_CreateLateScrollBox --
-
- SYNOPSIS
- EGB_CreateLateScrollBox(con, minWidth, maxWidth, minHeight, maxHeight, sort, id)
- A0 D0 D1 D2 D3 D4 D5
-
- EB_GadBoxPtr EGB_CreateLateScrollBox(EB_GadContext, WORD, WORD, WORD, WORD, ULONG, LONG)
-
- FUNCTION
- Creates a gadbox scrollbox gadget. These gadgets offer a list of
- Textlines, in which the user can scroll using a propgadget. One item
- can be selected at any time. This item is highlighted. The size
- information gives only minimum and maximum values in characters and
- lines. The number of displayed lines and collumns in the gadget
- depents on the surrounding gadboxes.
-
- INPUTS
- con : The associated gadget context
- minWidth : the minimal requiered number of collumns
- maxWidth : the maximal allowed number of collumns
- minHeight : the minimal requiered number of lines
- maxHeight : the maximal allowed number of lines
- sort : boolean value, if true, the scrollbox elements are sorted
- by their priority and string.
-
- RESULT
-
- SEE ALSO
-
-
- egb/gbscrollbox.library/EGB_LinkStringToScrollegb/gbscrollbox.library/EGB_LinkStringToScroll
-
- NAME
- EGB_LinkStringToScroll --
-
- SYNOPSIS
- EGB_LinkStringToScroll(scroll, string)
- A0 A1
-
- void EGB_LinkStringToScroll(EI_GadgetPtr, EI_StringGadPtr)
-
- FUNCTION
- Links a string gadget to a scroll box. If an item from the scrollbox
- is activated, the associated string will be copied to the string
- gadget. The area of the scroll gadget will follow the value in the
- string gadget, when ever that is modified
-
- INPUTS
- scroll : a scrollbox gadget
- string : a string gadget
-
- RESULT
-
- SEE ALSO
-
-
- egb/gbscrollbox.library/EGB_NextElem egb/gbscrollbox.library/EGB_NextElem
-
- NAME
- EGB_NextElem --
-
- SYNOPSIS
- EGB_NextElem(win, gad)
- A0 A1
-
- void EGB_NextElem(EI_WindowPtr, EI_GadgetPtr)
-
- FUNCTION
- Activates the next element of a scrollbox gadget. If none is
- selected the first entry will become the selected one.
-
- INPUTS
- win : The window that contains the gadget, if NULL, no refresh is done
- gad : The scrollbox gadget
-
- RESULT
-
- SEE ALSO
-
-
- egb/gbscrollbox.library/EGB_PrevElem egb/gbscrollbox.library/EGB_PrevElem
-
- NAME
- EGB_PrevElem --
-
- SYNOPSIS
- EGB_PrevElem(win, gad)
- A0 A1
-
- void EGB_PrevElem(EI_WindowPtr, EI_GadgetPtr)
-
- FUNCTION
- Activates the previous element in a scrollbox gadget. If none is
- selected, the last one will become the selected one.
-
- INPUTS
- win : The window that contains the gadget; if NULL, no refresh is done
- gad : The scrollbox gadget
-
- RESULT
-
- SEE ALSO
-
-
- egb/gbscrollbox.library/EGB_RemItemFromScrollBoxegb/gbscrollbox.library/EGB_RemItemFromScrollBox
-
- NAME
- EGB_RemItemFromScrollBox --
-
- SYNOPSIS
- EGB_RemItemFromScrollBox(win, gad, item)
- A0 A1 A2
-
- void EGB_RemItemFromScrollBox(EI_WindowPtr, EI_GadgetPtr, struct Node *)
-
- FUNCTION
- Removes an item from a scrollbox.
-
- INPUTS
- win : The window, that contains the gadget; if NULL, no refresh is done
- gad : The scrollbox gadget
- item : The element to remove, must be in the scrollbox
-
- RESULT
-
- SEE ALSO
-
-
- egb/gbscrollbox.library/EGB_RemListFromScrollBoxegb/gbscrollbox.library/EGB_RemListFromScrollBox
-
- NAME
- EGB_RemListFromScrollBox --
-
- SYNOPSIS
- EGB_RemListFromScrollBox(win, gad, list)
- A0 A1 A2
-
- void EGB_RemListFromScrollBox(EI_WindowPtr, EI_GadgetPtr, struct List *)
-
- FUNCTION
- Removes all items from a scrollbox and puts them into the list. This
- list may later be added to the scrollbox again.
-
- INPUTS
- win : The window that contains the gadget; if NULL, no refresh is done
- gad : The scrollbox gadget
- list : an empty list
-
- RESULT
- list : A list, that contains all items that were in the scrollbox before.
-
- SEE ALSO
-
-
- egb/gbscrollbox.library/EGB_SetTopElem egb/gbscrollbox.library/EGB_SetTopElem
-
- NAME
- EGB_SetTopElem --
-
- SYNOPSIS
- EGB_SetTopElem(win, gad, elem)
- A0 A1 A2
-
- void EGB_SetTopElem(EI_WindowPtr, EI_GadgetPtr, struct Node *)
-
- FUNCTION
- Changes the visible area of a scrollbox gadget.
-
- INPUTS
- win : The window that contains the gadget; if NULL, no refresh is done
- gad : The scrollbox gadget
- item : This item will become the topmost one in the visible area of the
- scrollgadget
-
- RESULT
-
- SEE ALSO
-
-
- egb/gbscrollbox.library/EGB_UpdateScrollBoxegb/gbscrollbox.library/EGB_UpdateScrollBox
-
- NAME
- EGB_UpdateScrollBox --
-
- SYNOPSIS
- EGB_UpdateScrollBox(win, gad)
- A0 A1
-
- void EGB_UpdateScrollBox(EI_WindowPtr, EI_GadgetPtr)
-
- FUNCTION
- Updates a scrollbox, after its item list has be changed manually.
- You must call this function every time you have changed the item
- list. But don't forget to lock egsintui (EI_LockIntution) while you
- work in the gadgets private data structure. In general it is better
- to remove the list from the scrollbox, work outside and add it again
- afterwards. If you want to avoid that the empty gadget is drawn after
- you removed the items, call EGB_RemListFromScrollBox with win=NULL.
- But make sure that you add the items again after the operation.
-
- INPUTS
- win : The window that contains the gadget; if NULL, no refresh is done
- gad : The scrollbox gadget
-
- RESULT
-
- SEE ALSO
-
-
-